package com.java;

import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLClassLoader;
//-XX:+TraceClassLoading
public class MainTests {
    public static void main(String[] args) throws ClassNotFoundException, MalformedURLException {
        File file=new File("E:\\TCGBIV\\DEVCODES\\jht2207");
        URL[] urls={file.toURI().toURL()};
        URLClassLoader classLoader=
                new URLClassLoader(urls);
        classLoader.loadClass("pkg.Hello");
        classLoader.loadClass("pkg.Hello");
    }
}
